﻿namespace CacheExtensions
{
    public class CacheConfig
    {
        public CacheType Type { get; set; } =  CacheType.Memory;
        public string Prefix { get; set; } = "";
        public RedisConfig? Redis { get; set; }
    }

    public enum CacheType
    {
        Memory=0,
        Redis =1,
    }
    public class RedisConfig
    {
        /// <summary>
        /// 
        /// </summary>
        public string ConnectionString { get; set; } = "";
    }
}
